<template>
	<view class="navbar">
		<view class="navbar-fixed">
			<view class="navbar-search">
				<view class="navbar-search-icon">
					<uni-icons type="search"></uni-icons>
				</view>
				<view class="navbar-search-text">
				</view>
			</view>
		</view>
		<view style="height: 45px;">
			
		</view>
	</view>
</template>

<script>
	export default {
		name:"navbar",
		data() {
			return {
				
			};
		},
		// methods:{
		// 	open() {
		// 		uni.navigateTo({
		// 			url:"/pages/tarbar/fllow/fllow"
		// 		})
		// 	}
		// }
	}
</script>

<style lang="scss">
.navbar-fixed{
	position: fixed;
	top: 50;
	left: 0;
	z-index: 99;
	display: flex;
	// 水平
	justify-content: center;
	align-items: center;
	padding: 0 15px;
	width: 100%;
	height: 45px;
	background-color: #f07373;
	// 在盒子内部显示。border不仅仅有这个，还有top，bottom，left，right
	box-sizing: border-box;
	.navbar-search{ 
		width: 100%;
		display: flex;
		align-items: center;
		height: 30px;
		padding: 0 10rpx;
		//边框圆角
		border-radius: 30px;
		background-color: #fff;
		.navbar-search-icon{
			width: 10px;
			height: 10px;
			border:  1px red solid;
			margin-right: 10px;
			
		}
		.navbar-search-text{
			font-size: 12px;
			color:#999;
		}
	}
	
}


</style>